import React from 'react'
import "./index.css"
// 批量传递Props
export default function Item({todo,done}) {
  return (
    <li>
    <label>
      {/*checked  这是可选框  */}
      <input type="checkbox" checked={done}/>
      <span>{todo}</span>
    </label>
    <button className="btn btn-danger" style={{display:"none"}}>删除</button>
  </li>
  )
}
